package cn.exrick.xboot.modules.activiti.vo;

import lombok.Data;
import org.activiti.engine.history.HistoricProcessInstance;
import org.activiti.engine.runtime.ProcessInstance;

import java.io.Serializable;
import java.util.Map;

@Data
public class ActProcessInstance implements ProcessInstance,Serializable {

    private String id;

    private String procInstId;

    private String businessKey;

    private String procDefId;

    private String actId;

    private String name;

    private String userId;

    private String departmentId;

    private String parentId;

    private String key;





    @Override
    public String getProcessDefinitionId() {
        return this.procDefId;
    }

    @Override
    public String getProcessDefinitionName() {
        return null;
    }

    @Override
    public String getProcessDefinitionKey() {
        return this.key;
    }

    @Override
    public Integer getProcessDefinitionVersion() {
        return null;
    }

    @Override
    public String getDeploymentId() {
        return null;
    }

    @Override
    public String getId() {
        return this.id;
    }

    @Override
    public boolean isSuspended() {
        return false;
    }

    @Override
    public boolean isEnded() {
        return false;
    }

    @Override
    public String getActivityId() {
        return null;
    }

    @Override
    public String getProcessInstanceId() {
        return this.procInstId;
    }

    @Override
    public String getParentId() {
        return this.parentId;
    }

    @Override
    public String getSuperExecutionId() {
        return null;
    }

    @Override
    public Map<String, Object> getProcessVariables() {
        return null;
    }

    @Override
    public String getTenantId() {
        return null;
    }

    @Override
    public String getDescription() {
        return null;
    }

    @Override
    public String getLocalizedName() {
        return null;
    }

    @Override
    public String getLocalizedDescription() {
        return null;
    }
}
